package jmu.cyxwcy.librarymanagement.service;

import jmu.cyxwcy.librarymanagement.pojo.Major;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2024-06-26
 */
public interface IMajorService extends IService<Major> {

    List<Major> findByCollegeNamPartial(String majorNamePartial);
    List<Major> findByCollegeName(String collegeId, String majorNamePartial);
    Integer findIdByMajorName(String majorName);

    List<Major> findByCollegeId(Integer collegeId);
}
